#ifndef GAMEAPPLICATION_H
#define GAMEAPPLICATION_H

#include <QApplication>

class GameApplication : public QApplication
{
	Q_OBJECT
public:
	GameApplication(int &argc, char **argv);
	static GameApplication* instance();
	void loadSettings();
	static int getCamIdSettings();
	static void getSkinThresholds(int &low, int &upper);
	static double getTrackingSensity();
	static void getValueThreshold(int &low, int &upper);
	static bool getAdaptThreshold();
	static bool getShowImageSettings();
	static bool getShowMaskSettings();
	bool notify(QObject *, QEvent *);

private:
	static int camIdSettings_;
	static int lowSkinThresholdSettings_;
	static int upperSkinThresholdSettings_;
	static double trackingSensity_;
	static int lowValueThresholdSettings_;
	static int upperValueThresholdSettings_;
	static bool adaptThresholdSettings_;
	static bool showImageSettings_;
	static bool showMaskSettings_;
};

#endif // GAMEAPPLICATION_H
